package com.huarui.initialItem.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;

import com.huarui.initialItem.model.InitialItem;
import com.huarui.initialItem.util.InitialItemVO;

public interface IinitialItemDao extends IBaseDao{

	public void batchInsert(List<InitialItem> itemList);
	public void batchUpdate(List<InitialItem> itemList);
	public List<InitialItemVO> pagingItemsByInitialId(Map<String,Object> map);
	public List<InitialItem> findItemsByInitialId(Integer initialId);
	public Integer pagingItemsCountByInitialId(Map<String,Object> map);
	
	public List<InitialItem> findAllItemsByCondition(Map<String,Object> map);
	
	public Integer findAllItemsCountByCondition(Map<String,Object> map);
	
	public Integer countErrors(Map<String,Object> map);
	
	public Integer deleteByCondition(Map<String,Object> map);
	
	@SuppressWarnings("unchecked")
	public List<Map> MapItemsByCondition(Map<String,Object> map);
	
	public Integer queryCodeCountByInitialId(Map<String,Object> map);
	
	public List<Map> queryCodeListByInitialId(Map<String,Object> map);
	
}
